package LatentTicTacToe.Calculators;

public class LatentTicTacToeTreeUpdater extends TreeUpdater{
	
	public LatentTicTacToeTreeUpdater() {
		super(new LTTTProbabilityCalculator(), new LTTTValueCalculator(), new LTTTStrategyCalculator());
	}

	@Override
	public void updateTree(int iterationCount) {
		
		for (int i = 1; i < iterationCount; i++) {
			System.out.println(i);
			probabilityCalculator.updateProbabilities(i);
			valueCalculator.updateValues(i);
			strategyCalculator.updateStrategy(i);
		}
		
	}



}
